<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title>Document</title>
	<style>
		div {
			width: 300px;
			height: 300px;
			margin: 50px auto;
			padding: 30px;
			background-image: url('./img/paopao1.jpg');
			background-repeat: no-repeat;
			border: 10px dashed red;
			/* background-origin: border-box; */
			/* background-origin: content-box; */
			/* background-origin: padding-box; */
			/* background-clip: border-box; */
			/* background-clip: content-box; */
			/* background-clip: padding-box; */
			/* background-size: cover; */
			/*  */
			/* background-size: contain;    宽先到终点 不进行大小拉伸  高如果先到终点 就停止 */
            background-size: 200px 200px;


		}
	</style>
</head>

<body>
	<div>111</div>
</body>

</html>